<?php include("header.php"); ?> 
 




 
<div class="nvask">
 <div class="quats">Integer vehicula purus quis mi molestie auctor laoreet magna euismod. Cum sociis <br />
natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus</div>
<div class="likeblock">
<a href="#"> </a>
<a href="#"> </a>
<div>4000 Likes</div>
</div>

</div>
<!--Main div end-->
<div id="container"  >
<?php $sql=mysql_query("SELECT * FROM `my_business_url` WHERE `userid`=".$_SESSION['id']."")or die(mysql_error());
while($row=mysql_fetch_array($sql)){
$title=get_allitem('my_page_details','url_id',$row['id']);
?>
<div class="element grid1"  <?php if(!empty($title['profile_image'])){echo "style=\" background:url(uploads/".$title['profile_image'].") center;\"";} ?>>

    <div>
      <div class="hovertip"><a href="http://mycitydial.com/<?php if(!empty($row['url'])){echo $row['url'];} ?>" target="_blank">
        <h2><?php if(!empty($title['page_title'])){echo substr($title['page_title'],0,50);}else{echo "Untitled Page Name";} ?></h2>
        <p><?php if(!empty($title['description'])){echo substr($title['description'],0,80);}else{echo "posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ";} ?></p></a>
        <div class="linkbox"> <a href="#">Like</a> <a href="#" class="share">Share</a> </div>
      </div>
    </div>

  </div>
<?php }?>     
<!--     
     <div class="element grid2"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid1"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid2"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid1"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid2"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid1"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>
     <div class="element grid2"><div> 
     
     
     <div class="hovertip">
      <h2>Page Name</h2>
      <p>posuere quis commodo orci malesuada. Nulla facilisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur </p>
      
      <div class="linkbox">
      <a href="#">Like</a>
      <a href="#" class="share">Share</a>      
      
      </div>
      
      
     </div>
     </div> </div>      -->                 
 
  
     
     
     
     
  </div>
<? include("footer.php");  ?>
